package com.jtech.together.mvp.contract;

import com.jtech.together.mvp.base.BaseContract;

import java.util.List;

import cn.bmob.v3.datatype.BmobGeoPoint;

/**
 * 增加动态
 * Created by wuxubaiyang on 2017/5/11.
 */
public interface AddTrendsContract {
    interface Presenter extends BaseContract.Presenter {
        void publishTrends(String content, List<String> images, BmobGeoPoint location, String address);
    }

    interface View extends BaseContract.View {
        void publishSuccess(String objectId);

        void publishFail(String error);

        void updateImageUrl(String key,String imageUrl, int position, int max);
    }
}